<template>
  <div>
    <NstdCheckTag checked style="margin-right: 8px">Checked</NstdCheckTag>
    <NstdCheckTag :checked="checked" @change="onChange">Toggle me</NstdCheckTag>
  </div>
</template>

<script lang="ts" setup>
import { ref } from 'vue'

const checked = ref(false)

const onChange = (status: boolean) => {
  checked.value = status
}
</script>
